package com.security.door.core.mybatis;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.io.Serializable;

@Data
public class BaseEntity extends Entity implements Serializable {
    private static final long serialVersionUID = 2393269568666085258L;

    /**
     * 创建时间。
     */
    @Column(name = "create_time", updatable = false)
    private Long createTime;

    /**
     * 更新时间。
     */
    @Column(name = "update_time")
    private Long updateTime;
}
